Skip to content

.#470

Closed
andrewparmet wants to merge 2 commits intobufbuild:mainfrom
andrewparmet:planner-cel-builder
Closed

.#470
andrewparmet wants to merge 2 commits intobufbuild:mainfrom
andrewparmet:planner-cel-builder

Conversation

@andrewparmet
Copy link
Copy Markdown

@andrewparmet andrewparmet commented May 9, 2026

.

Allow alternative protobuf runtimes to register a custom CelValueProvider
that teaches CEL how to navigate their message types natively via
StructValue, without requiring conversion to protobuf-java DynamicMessages.

The provider is wired through to the CEL builder's setValueProvider(),
which configures the CelValueRuntimeTypeProvider to delegate field access
to StructValue.select()/find() for custom message types.
Allow alternative protobuf runtimes to pass a CelValue (typically a
StructValue) for CEL evaluation while providing a protobuf-java Message
for structural validation. CEL navigates the StructValue via select()/
find() for lazy field access, while FieldEvaluator uses the underlying
Message for presence checks and required field validation.
@andrewparmet andrewparmet deleted the planner-cel-builder branch May 9, 2026 01:32
@andrewparmet andrewparmet changed the title Add CelValueProvider support for alternative protobuf runtimes . May 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant